import httpInstance from "@/utils/http";

export function loginAPI({ account, password }: { account: string, password: string }) {
	return httpInstance({
		url: "/login",
		method: "POST",
		data: {
			account,
			password,
		}
	});
}